package com.gis3c.sys.service;

import com.gis3c.sys.entry.vo.DictionaryModel;

import java.util.List;

/**
 * Created by hukekuan on 2018/2/6.
 */
public interface DictionaryService {
    List<DictionaryModel> findDictionarysByType(String dictType);
    List<DictionaryModel> findDictionarysByPage(String dictType,int pageSize, int currentPage);
    DictionaryModel findDictionaryById(String dictId);
    List<DictionaryModel> findDictionarysByParent(String parentId);

    public Integer insertDictionary(DictionaryModel dictionaryModel);
    public Integer deleteDictionaryById(String dictId);
    public Integer deleteDictionaryByType(String dictType);
    public Integer deleteDictionaryByParent(String parentIdId);
}
